#pragma once


class CRenderThread
{
public:
	void Start();
private:
	static unsigned __stdcall RunThis(void* thisPtr);
	void StartThread(unsigned (__stdcall *func)(void*), void* argList);
private:
	void*  m_Thread;
	uint32 m_ThreadID;
protected:
	void Run();
};

class CRenderThreadLoading
{

};


struct SRenderThread
{

	SRenderThread(void);
	~SRenderThread(void);

	void StartRenderThread();


	void Init();
	void Run();

	CRenderThread*  m_pRenderThread;
	CRenderThreadLoading* m_pRenderThreadLoading;
	
	uint32			m_ulRenderThreadID;

};
